package com.hb.medical_research_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName collection
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="collection")
public class Collection implements Serializable {
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 收藏的文献id

     */
    private Long articleId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}